package com.xx.bili.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.xx.common.annotation.Excel;
import com.xx.common.core.domain.BaseEntity;

import java.beans.Transient;
import java.util.Date;

/**
 * 老板对象 account_boss
 *
 * @author ruoyi
 * @date 2024-09-28
 */
public class BiLiAccount extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private String id;

    /**
     * 账号昵称
     */
    @Excel(name = "账号昵称", type = Excel.Type.IMPORT)
    private String name;


    /**
     * 点赞次数
     */
    private Integer count;

    /**
     * 登录信息
     */
    @Excel(name = "账户信息", type = Excel.Type.IMPORT)
    private String cookie;

    /**
     * 登录状态 在线/离线
     */
    private String loginStatus;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /**
     * 最后一次使用时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCookie() {
        return cookie;
    }

    public void setCookie(String cookie) {
        this.cookie = cookie;
    }

    @Override
    public Date getCreateTime() {
        return createTime;
    }

    @Override
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public String getLoginStatus() {
        return loginStatus;
    }

    public void setLoginStatus(String loginStatus) {
        this.loginStatus = loginStatus;
    }

    @Override
    public String toString() {
        return "BiLiAccount{" +
                "id='" + id + '\'' +
                ", name='" + name + '\'' +
                ", count=" + count +
                ", cookie='" + cookie + '\'' +
                ", loginStatus='" + loginStatus + '\'' +
                ", createTime=" + createTime +
                ", endTime=" + endTime +
                '}';
    }
}
